# Configuration file for the httpd service.

#
# The default processing model (MPM) is the process-based
# 'prefork' model.  A thread-based model, 'worker', is also
# available, but does not work with some modules (such as PHP).
# The service must be stopped before changing this variable.
#
#HTTPD=/usr/sbin/httpd.worker

#
# To pass additional options (for instance, -D definitions) to the
# httpd binary at startup, set OPTIONS here.
#
#OPTIONS=

#
# By default, the httpd process is started in the C locale; to
# change the locale in which the server runs, the HTTPD_LANG
# variable can be set.
#
#HTTPD_LANG=C

#
# By default, the httpd process will create the file
# /var/run/httpd/httpd.pid in which it records its process
# identification number when it starts.  If an alternate location is
# specified in httpd.conf (via the PidFile directive), the new
# location needs to be reported in the PIDFILE.
#
#PIDFILE=/var/run/httpd/httpd.pid

<% unless @umask.nil? -%>
# umask (user mask) is a command and a function in POSIX environments
# that sets the file mode creation mask of the current process which
# limits the permission modes for files and directories created by
# the process.
umask <%= @umask %>
<% end -%>

<% unless @maxopenfiles.nil? -%>
# Limit max number of open files, for more information take a look at
# limits.conf(5)
ulimit -n <%= @maxopenfiles %>
<% end -%>
